//-----------------------------------------------------------------------
// <copyright file="a_ShoppingCartBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_ShoppingCartBase
	{
		
		#region Variable Declarations
		private int				id = 0;
		private string				cookieID = string.Empty;
		private int				prodID = 0;
		private string				optionCode = string.Empty;
		private int				quantity = 0;
		private decimal				price = 0;
		private decimal				amount = 0;
		private int				domainID = 0;
		private DateTime				timeIn = new DateTime(1900,1,1,0,0,0,0);
		private bool				isCoupon = false;
		private bool				isinvalidCoupon = false;
		private decimal				discount = 0;
		private decimal				adjAmount = 0;
		private byte				isGetThat = 0;
		private int				nofNotexcess = 0;
		private bool				isSpecials = false;
		private bool				isbuy = false;
		private bool				iscombinable = false;
		private bool				couponValueType = false;
		private int				typecoupon = 0;
		private decimal				discount2 = 0;
		private decimal				adjAmount2 = 0;
		private decimal				subdiscount = 0;
		private int				couponID = 0;
		private int				couponValue = 0;
		private string				redemptionCode = string.Empty;
		private bool				isCoupon2 = false;
		private bool				isinvalidCoupon2 = false;
		private byte				isGetThat2 = 0;
		private int				nofNotExcess2 = 0;
		private bool				isSpecials2 = false;
		private bool				isbuy2 = false;
		#endregion
		
		#region Constructors
		public a_ShoppingCartBase() {}
		
		public a_ShoppingCartBase (
			int id,
			string cookieID,
			int prodID,
			string optionCode,
			int quantity,
			decimal price,
			decimal amount,
			int domainID,
			DateTime timeIn,
			bool isCoupon,
			bool isinvalidCoupon,
			decimal discount,
			decimal adjAmount,
			byte isGetThat,
			int nofNotexcess,
			bool isSpecials,
			bool isbuy,
			bool iscombinable,
			bool couponValueType,
			int typecoupon,
			decimal discount2,
			decimal adjAmount2,
			decimal subdiscount,
			int couponID,
			int couponValue,
			string redemptionCode,
			bool isCoupon2,
			bool isinvalidCoupon2,
			byte isGetThat2,
			int nofNotExcess2,
			bool isSpecials2,
			bool isbuy2)
		
		{
			this.id = id;
			this.cookieID = cookieID;
			this.prodID = prodID;
			this.optionCode = optionCode;
			this.quantity = quantity;
			this.price = price;
			this.amount = amount;
			this.domainID = domainID;
			this.timeIn = timeIn;
			this.isCoupon = isCoupon;
			this.isinvalidCoupon = isinvalidCoupon;
			this.discount = discount;
			this.adjAmount = adjAmount;
			this.isGetThat = isGetThat;
			this.nofNotexcess = nofNotexcess;
			this.isSpecials = isSpecials;
			this.isbuy = isbuy;
			this.iscombinable = iscombinable;
			this.couponValueType = couponValueType;
			this.typecoupon = typecoupon;
			this.discount2 = discount2;
			this.adjAmount2 = adjAmount2;
			this.subdiscount = subdiscount;
			this.couponID = couponID;
			this.couponValue = couponValue;
			this.redemptionCode = redemptionCode;
			this.isCoupon2 = isCoupon2;
			this.isinvalidCoupon2 = isinvalidCoupon2;
			this.isGetThat2 = isGetThat2;
			this.nofNotExcess2 = nofNotExcess2;
			this.isSpecials2 = isSpecials2;
			this.isbuy2 = isbuy2;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ID
		{
			get { return id; }
			set { id = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CookieID
		{
			get { return cookieID; }
			set { cookieID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ProdID
		{
			get { return prodID; }
			set { prodID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string OptionCode
		{
			get { return optionCode; }
			set { optionCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Quantity
		{
			get { return quantity; }
			set { quantity = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Price
		{
			get { return price; }
			set { price = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Amount
		{
			get { return amount; }
			set { amount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime TimeIn
		{
			get { return timeIn; }
			set { timeIn = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsCoupon
		{
			get { return isCoupon; }
			set { isCoupon = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsinvalidCoupon
		{
			get { return isinvalidCoupon; }
			set { isinvalidCoupon = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Discount
		{
			get { return discount; }
			set { discount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal AdjAmount
		{
			get { return adjAmount; }
			set { adjAmount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte IsGetThat
		{
			get { return isGetThat; }
			set { isGetThat = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int NofNotexcess
		{
			get { return nofNotexcess; }
			set { nofNotexcess = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsSpecials
		{
			get { return isSpecials; }
			set { isSpecials = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Isbuy
		{
			get { return isbuy; }
			set { isbuy = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Iscombinable
		{
			get { return iscombinable; }
			set { iscombinable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool CouponValueType
		{
			get { return couponValueType; }
			set { couponValueType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Typecoupon
		{
			get { return typecoupon; }
			set { typecoupon = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Discount2
		{
			get { return discount2; }
			set { discount2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal AdjAmount2
		{
			get { return adjAmount2; }
			set { adjAmount2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Subdiscount
		{
			get { return subdiscount; }
			set { subdiscount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CouponID
		{
			get { return couponID; }
			set { couponID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CouponValue
		{
			get { return couponValue; }
			set { couponValue = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string RedemptionCode
		{
			get { return redemptionCode; }
			set { redemptionCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsCoupon2
		{
			get { return isCoupon2; }
			set { isCoupon2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsinvalidCoupon2
		{
			get { return isinvalidCoupon2; }
			set { isinvalidCoupon2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte IsGetThat2
		{
			get { return isGetThat2; }
			set { isGetThat2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int NofNotExcess2
		{
			get { return nofNotExcess2; }
			set { nofNotExcess2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsSpecials2
		{
			get { return isSpecials2; }
			set { isSpecials2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Isbuy2
		{
			get { return isbuy2; }
			set { isbuy2 = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_ShoppingCartColumns
	{
		ID,
		CookieID,
		ProdID,
		OptionCode,
		Quantity,
		Price,
		Amount,
		DomainID,
		TimeIn,
		IsCoupon,
		IsinvalidCoupon,
		Discount,
		AdjAmount,
		IsGetThat,
		NofNotexcess,
		IsSpecials,
		Isbuy,
		Iscombinable,
		CouponValueType,
		Typecoupon,
		Discount2,
		AdjAmount2,
		Subdiscount,
		CouponID,
		CouponValue,
		RedemptionCode,
		IsCoupon2,
		IsinvalidCoupon2,
		IsGetThat2,
		NofNotExcess2,
		IsSpecials2,
		Isbuy2
	}//End enum
}